﻿using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;

public class NoticePage : MonoBehaviour
{
    public Text content;

    void Start()
    {
        Invoke("CloseBtnClick", 1.5f);
    }

    public void SetContent(string str)
    {
        content.text = str;
    }

    private void CloseBtnClick()
    {
        Destroy(gameObject);
    }

}
